|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectabstraction.CartesianProduct
public class CartesianProduct
This class executes carthisian product. To execute a product you have to call executeProduct methods
| Field Summary | |
|---|---|
(package private) long |
estimateTime
|
| Constructor Summary | |
|---|---|
CartesianProduct()
|
|
| Method Summary | |
|---|---|
static Service |
executeProduct(AvailableServices comm)
This method build a Carthisian Product among Services present inside a Community |
private static java.lang.String |
productFinalStates(java.util.Set<State> l1,
java.util.Set<State> l2)
This method executes a Cartesian product among final states |
private static java.lang.String |
productService(Service s1,
Service s2)
This method builds a String with final states and transition of two Service. |
private static java.lang.String |
productTransition(java.util.Set<TransitionFunction> l1,
java.lang.String l1Name,
java.util.Set<TransitionFunction> l2,
java.lang.String l2Name)
This method execute a carthisian product among transition functions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
long estimateTime
| Constructor Detail |
|---|
public CartesianProduct()
| Method Detail |
|---|
public static Service executeProduct(AvailableServices comm)
comm - where execute product
private static java.lang.String productService(Service s1,
Service s2)
s1 - services2 - service
private static java.lang.String productTransition(java.util.Set<TransitionFunction> l1,
java.lang.String l1Name,
java.util.Set<TransitionFunction> l2,
java.lang.String l2Name)
l1 - Set of transition functions of one Service of communityl2 - Set of transition functions of another Service of community
private static java.lang.String productFinalStates(java.util.Set<State> l1,
java.util.Set<State> l2)
l1 - Set of final states of one Service of communityl2 - Set of final states of another Service of community
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||